package com.example.javabasic.shejimoshi.fangwenzhe.demo1;
//具体元素A
public class ConcreteElementA implements Element {
    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }

    public String operationA(){
        return "具体元素 A 的operationA方法";
    }
}
